class Sprint < ActiveRecord::Base
  has_many :story
  belongs_to  :user
  
  validates_presence_of     :title
  validates_length_of       :title,  :within => 3..50
  validates_uniqueness_of   :title
  
  validates_presence_of     :start_time
  
  validates_presence_of     :end_time
  
  validates_presence_of     :user_id
  
  validates_presence_of     :status
end
